package 对象适配器模式;

public class Adapter implements V220 {
    V5 v5;
    public Adapter()
    {
    	v5=new V5();
    }
    @Override
	public String V220() {
		String str ="输入电压为220V";
		return str;
	}
    public String V5() {
    	return v5.V5();
    }

}
